package com.yizn.learn.springext.initializingbean;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Service;

/**
 * project : my-learn
 * <p> 9.2 实现InitializingBean接口 </p>
 *
 * @author yisl
 * @date 2023-01-13【星期五】
 **/
@Service
public class BService implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("BService 初始化方法");
    }
}
